package com.fhx.modules.boc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 货币汇率实体类
 * @author fhx
 * @version V1.0
 * @Date 2021-04-29 10:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Currency {

    @ApiModelProperty(value = "编号")
    private String code;

    @ApiModelProperty(value = "货币名称")
    private String currencyName;

    @ApiModelProperty(value = "现汇买入价")
    private String spotBuyPrice;

    @ApiModelProperty(value = "现钞买入价")
    private String cashBuyPrice;

    @ApiModelProperty(value = "现汇卖出价")
    private String spotSellPrice;

    @ApiModelProperty(value = "现钞卖出价")
    private String cashSellPrice;

    @ApiModelProperty(value = "中行折算价")
    private String discountPrice;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "发布时间")
    private String releaseTime;
}
